//
//  Pets.m
//  LoveOfPet
//
//  Created by 芦彬 on 15/11/15.
//  Copyright © 2015年 孔维. All rights reserved.
//

#import "Pets.h"

@implementation Pets

- (void)dealloc{
    [_age release];
    [_birth release];
    [_fnum release];
    [_petname release];
    [_picnum release];
    [_pid release];
    [_storynum release];
    [_type_name release];
    [_uid release];
    [_zan release];
    [super dealloc];
}

- (instancetype)initWithDictionary:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (Pets *)petsWithDictionary:(NSDictionary *)dictionary{
    Pets *pets = [[Pets alloc]initWithDictionary:dictionary];
    return [pets autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

@end
